package com.java110.mall.cart.bmo.businessQuery;

import com.alibaba.fastjson.JSONObject;
import com.java110.dto.housekeeping.HousekeepingResourceDto;
import com.java110.dto.housekeeping.HousekeepingServDto;

import java.util.List;

public interface IBusinessQueryServ{
    /**
     * 根据名称查询服务
     * @param reqJson
     * @param searchValue
     * @param shopId
     * @param housekeepingServDtos
     */
    void queryServByName(JSONObject reqJson, String searchValue, String shopId, List<HousekeepingServDto> housekeepingServDtos);

    /**
     * 根绝 ID查询服务
     * @param reqJson
     * @param searchValue
     * @param shopId
     * @param housekeepingServDtos
     */
    void queryServById(JSONObject reqJson, String searchValue, String shopId, List<HousekeepingServDto> housekeepingServDtos);

    /**
     * 根据物品名称查询物品
     * @param reqJson
     * @param searchValue
     * @param shopId
     * @param housekeepingResourceDtos
     */
    void queryResourceByName(JSONObject reqJson, String searchValue, String shopId, List<HousekeepingResourceDto> housekeepingResourceDtos);
}
